<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>react 练习part04</title>
		<script src="../build/react.js"></script>
		<script src="../build/react-dom.js"></script>
		<script src="../build/browser.min.js"></script>
	</head>
	<body>
		<div id="app"></div>
		<script type="text/babel">
			var HelloMessage = React.createClass({
				render:function(){
					return <h1>Hello {this.props.name}</h1>;
				}
			});
			
			ReactDOM.render(
				<HelloMessage name="Tohn"/>,
				document.getElementById('app')
			)
		</script>
	</body>
</html>
